<div id="loginForm">
<?php echo Html::beginForm(); ?>
<div class="row">
<?php echo Html::activeLabel($form,'username'); ?>
<br/>
<?php echo Html::activeTextField($form,'username') ?>
<?php echo Html::error($form,'username'); ?>
</div>
<div class="row">
<?php echo Html::activeLabel($form,'password'); ?>
<br/>
<?php echo Html::activePasswordField($form,'password') ?>
<?php echo Html::error($form,'password'); ?>
</div>
<div class="row">
<?php echo Html::activeCheckBox($form,'rememberMe'); ?>
<?php echo Html::activeLabel($form,'rememberMe'); ?>
</div>
<div class="row">
<?php echo Html::submitButton(Yii::t('yii','Log in'),$htmlOptions=array ('id'=>'loginBtn')); ?>
</div>
<?php echo Html::endForm(); ?>

</div>
<div id="regrec">
<?php echo Html::link(Yii::t('yii','Register'),array('user/register')); ?>
<br/>
<?php echo Html::link(Yii::t('yii','Forgotten password?'),array('user/recover')); ?>
</div>





